<template>
	<a-config-provider :locale="locale">
		<router-view v-slot="{ Component }">
			<component :is="Component" />
		</router-view>
	</a-config-provider>
</template>

<script>
import { defineComponent } from "vue";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");

export default defineComponent({
	name: "App",
	setup() {
		return {
			locale: zhCN
		};
	}
});
</script>


<style scoped>

</style>
